IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > NavigationListEntityProperty<TInstance,TValue> Class > GetValue Method : GetValue(TInstance) Method |
'Declaration
Public Overloads Function GetValue( _ ByVal instance As TInstance _ ) As RelatedEntityList(Of TValue)
'Usage
Dim instance As NavigationListEntityProperty(Of TInstance,TValue) Dim instance As TInstance Dim value As RelatedEntityList(Of TValue) value = instance.GetValue(instance)
public RelatedEntityList<TValue> GetValue( TInstance instance )
// Sample auto-generated property #region Employees property /// Gets the Employees. [Bindable(false)] [Display(AutoGenerateField=false)] [DataMember] [IbEm.RelationProperty("FK_Employees_Employees", IbEm.QueryDirection.ToRole1)] public IbEm.RelatedEntityList<Employee> Employees { get { return PropertyMetadata.Employees.GetValue(this); } } #endregion Employees property
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2